﻿namespace LowCoding.Common
{
    public class ResponseMessageModel<T>
    {
        /// <summary>
        /// 是否执行成功
        /// </summary>
        public bool success { get; set; }

        /// <summary>
        /// 200-代表成功
        /// </summary>
        public ResponseCodeEnum code { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string message { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public T data { get; set; }
    }

    public class ResponseMessageModel
    {
        /// <summary>
        /// 是否执行成功
        /// </summary>
        public bool success { get; set; }

        /// <summary>
        /// 200-代表成功
        /// </summary>
        public ResponseCodeEnum code { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string message { get; set; }

        public object data { get; set; }
    }
}